package com.ler.yrmall.search.service;

import com.ler.yrmall.search.dto.SkuEsModelDTO;

import java.util.List;

/**
 * @author leron
 */
public interface ProductService {

    /**
     * 上架
     * @param skuList
     * @return
     */
    Boolean productSale(List<SkuEsModelDTO> skuList);

    /**
     * 下架
     * @param skuIds
     * @return
     */
    Boolean productSoldOut(List<Long> skuIds);
}
